<?php echo $this->Session->flash(); ?>
<?php $bloqueo = $this->Session->read('bloqueo_avaluo'); ?>

<div id="loading" style="display: none;">
    <?php echo $html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>

<fieldset>
    <?php echo $form->create('PropertyAppraisal'); ?>
    <table cellpadding ="7" aling = "left">
       
        <tr>
            <td><?php echo $form->input('PropertyAppraisal.area_levantamiento', array('label' => "Área Levantamiento (Ha.)")); ?></td>
            <td></td>
        </tr>
        <tr>
            <td><?php echo $form->input('PropertyAppraisal.id'); ?></td>
            <td><?php if ($bloqueo == "No") echo $ajax->submit('Guardar', array('url' => array('controller' => 'PropertyAppraisals', 'action' => 'add_area', $this->data['PropertyAppraisal']['id']), 'update' => 'lista', 'complete' => 'mayusculas()', 'indicator' => 'loading')); ?></td>
        </tr>

    </table>
    <?php echo $form->end(); ?>
    <?php echo $ajax->link($html->image("regresar.gif", array('width' => '30', 'heigth' => '30', 'alt' => 'regresar', 'align' => 'center')), array('controller' => 'PropertyAppraisals', "action" => "area_index"), array('escape' => false, 'update' => 'lista', 'complete' => '', 'indicator' => 'loading')); ?>

</fieldset>
